FVP AArch32: Fix flash access in BL32 for mem_protect
authorJoel Hutton <[email protected]>
Thu, 15 Mar 2018 11:33:44 +0000 (11:33 +0000)
committerJoel Hutton <[email protected]>
Thu, 15 Mar 2018 11:45:37 +0000 (11:45 +0000)
The FVP platform port for SP_MIN (BL32) didn't map the flash memory
in BL32 for stroring the mem_protect enable state information leading
to synchronous exception. The patch fixes it by adding the region to
the BL32 mmap tables.

Change-Id: I37eec83c3e1ea43d1b5504d3683eebc32a57eadf
Signed-off-by: Joel Hutton <[email protected]>
plat/arm/board/fvp/fvp_common.c

index 2df11d653561f8b6cdafdcc28b66ea765193fa69..af258b0607b944b6b1f0d2123d68b08bc316ed00 100644 (file)
@@ -145,6 +145,7 @@ const mmap_region_t plat_arm_secure_partition_mmap[] = {
 const mmap_region_t plat_arm_mmap[] = {
 #ifdef AARCH32
        ARM_MAP_SHARED_RAM,
+       ARM_V2M_MAP_MEM_PROTECT,
 #endif
        V2M_MAP_IOFPGA,
        MAP_DEVICE0,